package com.pusilkom.uploader;

import com.pusilkom.logger.Debuger;

/**
 * @version Draft
 * @author Purwa
 * Class: AutodebetWorkerMain
 * Desc: Main class for autodebet worker
 */

public class AutodebetWorkerMain {
	public static void main(String[] args) {		
		AutodebetWorkerConfig conf = new AutodebetWorkerConfig();
		Debuger agent = new Debuger(conf);		
		agent.debug("Bringing up application . . .");
		int port = Integer.parseInt(conf.getParameter("port"));
		Thread autodebetWorker = new Thread(new ListenerAutodebetWorker(port, conf, agent));		
		autodebetWorker.start();
	}
}
